home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Complementary Applications 2004 February / SGI IRIX 6.5 Complementary Applications 2004 February.iso / dist / cde.idb / usr / dt / share / man / cat3 / XmGetTearOffControl.z / XmGetTearOffControl
Encoding:
Text File  |  2003-11-18  |  2.7 KB  |  67 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmGGGGeeeettttTTTTeeeeaaaarrrrOOOOffffffffCCCCoooonnnnttttrrrroooollll((((3333XXXX))))   UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV   XXXXmmmmGGGGeeeettttTTTTeeeeaaaarrrrOOOOffffffffCCCCoooonnnnttttrrrroooollll((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.       _X_m_G_e_t_T_e_a_r_O_f_f_C_o_n_t_r_o_l -    A RowColumn function that obtains the
  10.       widget ID for    the tear-off control in    a menu
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.       #include <Xm/RowColumn.h>
  14.  
  15.       Widget XmGetTearOffControl (mmmmeeeennnnuuuu)
  16.            _W_i_d_g_e_t     mmmmeeeennnnuuuu;
  17.  
  18.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  19.       _X_m_G_e_t_T_e_a_r_O_f_f_C_o_n_t_r_o_l provides the application with the    means
  20.       for obtaining    the widget ID of the internally    created    tear-
  21.       off control in a tear-off menu.
  22.  
  23.       RowColumn creates a tear-off control for a PulldownMenu or
  24.       PopupMenu when the _X_m_N_t_e_a_r_O_f_f_M_o_d_e_l resource is initialized
  25.       or set to _X_m_T_E_A_R__O_F_F__E_N_A_B_L_E_D.     The tear-off control is a
  26.       widget that appears as the first element in the menu.     The
  27.       user tears off the menu by means of mouse or keyboard    events
  28.       in the tear-off control.
  29.  
  30.       The tear-off control has Separator-like behavior.  Once the
  31.       application has obtained the widget ID of the    tear-off
  32.       control, it can set resources    to specify the appearance of
  33.       the control.    The application    or user    can also set these
  34.       resources in a resource file by using    the name of the
  35.       control, which is "TearOffControl".  For a list of the
  36.       resources the    application or user can    set, see
  37.       _X_m_R_o_w_C_o_l_u_m_n(_3_X).
  38.  
  39.       mmmmeeeennnnuuuu Specifies the widget ID of the RowColumn    PulldownMenu
  40.            or PopupMenu
  41.  
  42.       For more information on tear-off menus and a complete
  43.       definition of    RowColumn and its associated resources,    see
  44.       _X_m_R_o_w_C_o_l_u_m_n(_3_X).
  45.  
  46.      RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
  47.       Returns the widget ID    for the    tear-off control, or NULL if
  48.       no tear-off control exists.  An application should not
  49.       assume that the returned widget will be of any particular
  50.       class.
  51.  
  52.      RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
  53.       _X_m_R_o_w_C_o_l_u_m_n(_3_X).
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                        (printed 11/11/03)
  64.  
  65.  
  66.  
  67.